#ifndef  DEV_PLATFORM_H
#define  DEV_PLATFORM_H


#define     LINUX 0
#define     LPC1114 1

#define     PLATFORM  LINUX
//#define     PLATFORM  LPC1114


#if (PLATFORM == LPC1114)
//#include "LPC11xx.h"
//#include "config.h"
void UART_SendByte (uint8_t ucDat);
#define GSM_RESET   (1ul << 1)    //3.1
#define GSM_RESET_LOW()   LPC_GPIO3->DATA &= ~GSM_RESET
#define GSM_RESET_HIGH()  LPC_GPIO3->DATA |=  GSM_RESET
#define GSM_POWER   (1ul << 3)    //3.3
#define GSM_POWER_HIGH()  LPC_GPIO3->DATA |= GSM_POWER
#define GSM_POWER_LOW() LPC_GPIO3->DATA &= ~GSM_POWER
#endif

#if (PLATFORM == LINUX)
#include "cssl.h"
#include "unistd.h"
#include <pthread.h>
#include <malloc.h>
#endif


#endif  /*DEV_PLATFORM_H*/
